musl libc does not support this feature, and for glibc, additional
library libasan is required. Disable it explicitly to avoid build issue
when CONFIG_DEBUG is selected.
Signed-off-by: Tianling Shen <[email protected]>
PKG_NAME:=libcbor
PKG_VERSION:=0.11.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/PJK/libcbor/tar.gz/v$(PKG_VERSION)?
PKG_LICENSE_FILES:=COPYING
-CMAKE_OPTIONS += \
- -DBUILD_SHARED_LIBS=ON
CMAKE_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
endef
+CMAKE_OPTIONS += \
+ -DBUILD_SHARED_LIBS=ON \
+ -DSANITIZE=OFF
define Package/libcbor/install
$(INSTALL_DIR) $(1)/usr/lib